package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.*;

import java.util.List;

/**
 * @author deyran
 * @classname
 * @see IService
 */
public interface VisitDiaryService extends IService<VisitDiary> {

    //查
    public PageVo<VisitDiary> queryvisitdiary(VisitDiary visitdiary, int pageNum, int pagesize);

    //增
    public Result insertvisitdiary(VisitDiary visitdiary);

    //删
    public Result delvisitdiary(int id);

    //修改前先根据id查到该数据
    public VisitDiary queryvisitdiarybyid(int id);

    //根据id修改
    public Result updatevisitdiarybyid(VisitDiary visitdiary);

    public List<RenQunFenLei> getmemberName();

    public List<User> getUserRole();

}
